#include <iostream>
#include "XclibApplication.h"
int main(int argc, char *argv[]) {
    if (argc != 2) {
        std::cout << "Usage: debug-utils xclib \n      debug-utils modbus";
        return -1;
    }

    if (strcmp(argv[1], "xclib") == 0) {
        return application_xclib_client_main(argc, argv);
    } else if (strcmp(argv[1], "modbus") == 0) {
        std::cout << "modbus-utils CLI starting... (type 'help' for commands, 'quit' to exit)\n";
        return 0;
    } else {
        std::cout << "Usage: debug-utils xclib \n      debug-utils modbus";
        return -1;
    }
}
